<template>
  <div>
    <div style="height: 150px"></div>

    <div class="main">
      <div class="content">
        <h1 style="margin-bottom: 20px">预约试驾</h1>
        <p>
          欢迎您在线预约试驾,请准确填写以下信息,我门将为您提供更好的驾乘体验
        </p>
        <h3 style="margin: 20px 0 20px 0">请选择您想试驾的信息:</h3>
        <!-- 车型 -->
        <div
          style="
            user-select: none;
            width: 100%;
            height: 50px;
            background: #f5f5f5;
            border-radius: 5px;
          "
        >
          <span style="display: inline-block; margin-left: 5px; width: 15%"
            >车型:</span
          >
          <select
            style="
              width: 80%;
              background: #f5f5f5;
              height: 100%;
              border-style: none;
              border-radius: 5px;
              font-size: 16px;
              color: #002f4f;
              text-align: center;
            "
          >
            <option value="1">比亚迪海豹-经典款</option>
            <option value="2">比亚迪海豹-运动款</option>
          </select>
        </div>
        <!-- 省市区 -->
        <div
          style="
            margin-top: 5px;
            user-select: none;
            width: 100%;
            height: 50px;
            background: #f5f5f5;
            border-radius: 5px;
          "
        >
          <span style="display: inline-block; margin-left: 5px; width: 15%"
            >省市区:</span
          >
          <select
            style="
              width: 80%;
              background: #f5f5f5;
              height: 100%;
              border-style: none;
              border-radius: 5px;
              font-size: 16px;
              color: #002f4f;
              text-align: center;
            "
          >
            <option value="" selected>上海市</option>
            <option value="">北京市</option>
          </select>
        </div>
        <!-- 经销商 -->
        <div
          style="
            margin-top: 5px;
            user-select: none;
            width: 100%;
            height: 50px;
            background: #f5f5f5;
            border-radius: 5px;
          "
        >
          <span style="display: inline-block; margin-left: 5px; width: 15%"
            >经销商:</span
          >
          <select
            style="
              width: 80%;
              background: #f5f5f5;
              height: 100%;
              border-style: none;
              border-radius: 5px;
              font-size: 16px;
              color: #002f4f;
              text-align: center;
            "
          >
            <option value="" selected>经销商1</option>
            <option value="">经销商2</option>
          </select>
        </div>
        <div style="display: flex; justify-content: space-between">
          <!-- 体验时间 -->
          <div
            style="
              margin-top: 5px;
              user-select: none;
              width: 49%;
              height: 50px;
              background: #f5f5f5;
              border-radius: 5px;
            "
          >
            <span
              style="
                display: inline-block;
                margin-left: 3px;
                width: 70px;
                line-height: 50px;
              "
              >体验时间:</span
            >
            <input
              placeholder="请输入"
              type="text"
              style="
                width: 190px;
                height: 90%;
                border: 0;
                background: #f5f5f5;
                font-size: 16px;
                text-indent: 5px;
              "
            />
          </div>
          <!-- 购车时间 -->
          <div
            style="
              margin-top: 5px;
              user-select: none;
              width: 49%;
              height: 50px;
              background: #f5f5f5;
              border-radius: 5px;
            "
          >
            <span
              style="
                display: inline-block;
                margin-left: 3px;
                width: 70px;
                line-height: 50px;
              "
              >购车时间:</span
            >
            <input
              placeholder="请输入"
              type="text"
              style="
                width: 190px;
                height: 90%;
                border: 0;
                background: #f5f5f5;
                font-size: 16px;
                text-indent: 5px;
              "
            />
          </div>
        </div>
        <!-- 下部分 -->
        <h3 style="margin: 35px 0 15px 0">请填写联系人信息:</h3>
        <div>
          <label> <input type="radio" name="m" checked />男士</label>
          <span style="display: inline-block; width: 30px"></span>
          <label> <input type="radio" name="m" />女士 </label>
        </div>
        <div style="display: flex; justify-content: space-between">
          <!-- 姓名 -->
          <div
            style="
              margin-top: 7px;
              user-select: none;
              width: 49%;
              height: 50px;
              background: #f5f5f5;
              border-radius: 5px;
            "
          >
            <span
              style="display: inline-block; margin-left: 3px; line-height: 50px"
              >姓名:</span
            >
            <input
              placeholder="请输入"
              type="text"
              style="
                width: 225px;
                height: 90%;
                border: 0;
                background: #f5f5f5;
                font-size: 16px;
                text-indent: 5px;
              "
            />
          </div>
          <!-- 手机 -->
          <div
            style="
              margin-top: 7px;
              user-select: none;
              width: 49%;
              height: 50px;
              background: #f5f5f5;
              border-radius: 5px;
            "
          >
            <span
              style="display: inline-block; margin-left: 3px; line-height: 50px"
              >手机:</span
            >
            <input
              placeholder="请输入"
              type="text"
              style="
                width: 225px;
                height: 90%;
                border: 0;
                background: #f5f5f5;
                font-size: 16px;
                text-indent: 5px;
              "
            />
          </div>
        </div>
        <!-- 阅读隐私 -->
        <div style="margin-top: 15px; user-select: none">
          <label>
            <input type="checkbox" checked />
            <span
              style=" border-bottom: 1px solid black;display-inline-block;margin-left:5px"
              >我已阅读并同意隐私条款</span
            >
          </label>
        </div>
        <button class="btn">申请试驾</button>
      </div>
    </div>
  </div>
</template>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.main {
  width: 100%;
  height: calc(100vh - 40px);
  background-image: url("/src/assets/img/yysj.png");
  margin-top: -2px;
  position: relative;
  user-select: none;
  .content {
    padding: 26px;
    background-color: #fff;
    width: 32%;
    height: 650px;
    border-radius: 7px;
    box-shadow: 4px 3px 6px black;
    position: absolute;
    top: 30px;

    left: 50px;
  }
}
.btn {
  padding: 6px 37px;
  background-color: #980000;
  color: white;
  border: 0;
  margin-left: 200px;
  margin-top: 20px;
  user-select: none;
}
</style>